<template>
<div>
  <a v-bind:href="url">不简写</a>

  <br><hr>
  <a :href="url">百度一下</a>
</div>
</template>

<script setup>
    import {ref} from 'vue';
    const url = ref( 'https://www.baidu.com');
</script>

<style scoped>

</style>